﻿using System;
using System.Collections.Generic;
namespace Meeting.Model
{
    /// <summary>
    /// 会议表
    /// </summary>
    [Serializable]
    public partial class Meeting
    {
        public Meeting()
        { }

        #region Model
        private int _id;
        private string _name = "";
        private string _hostid = "";
        private string _hostname = "";
        private string _hosttitle = "";
        private string _hosetroleid = "";
        private DateTime _startdate = DateTime.Now;
        private DateTime _enddate = DateTime.Now;
        private int _roomid;
        private decimal _duration = 0.0M;
        private int _status = 0;
        private int _categoryid;
        private string _employeeid = "";
        private string _employeename = "";
        private string _employeetitle = "";
        private string _roleid = "";
        private DateTime _createdate = DateTime.Now;
        private string _comment = "";
        private bool _isactive = true;
        private Guid _videoroomid;
        /// <summary>
        /// 
        /// </summary>
        public int Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 会议名称
        /// </summary>
        public string Name
        {
            set { _name = value; }
            get { return _name; }
        }
        /// <summary>
        /// 主持人主键
        /// </summary>
        public string HostId
        {
            set { _hostid = value; }
            get { return _hostid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string HostName
        {
            set { _hostname = value; }
            get { return _hostname; }
        }
        /// <summary>
        /// 人员职务
        /// </summary>
        public string HostTitle
        {
            set { _hosttitle = value; }
            get { return _hosttitle; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string HosetRoleId
        {
            set { _hosetroleid = value; }
            get { return _hosetroleid; }
        }
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime StartDate
        {
            set { _startdate = value; }
            get { return _startdate; }
        }
        /// <summary>
        /// 截止时间
        /// </summary>
        public DateTime EndDate
        {
            set { _enddate = value; }
            get { return _enddate; }
        }
        /// <summary>
        /// 会议室主键
        /// </summary>
        public int RoomId
        {
            set { _roomid = value; }
            get { return _roomid; }
        }
        /// <summary>
        /// 会议持续时间
        /// </summary>
        public decimal Duration
        {
            set { _duration = value; }
            get { return _duration; }
        }
        /// <summary>
        /// 会议状态（枚举：准备，激活，取消，关闭）
        /// </summary>
        public int Status
        {
            set { _status = value; }
            get { return _status; }
        }
        /// <summary>
        /// 会议类别主键
        /// </summary>
        public int CategoryId
        {
            set { _categoryid = value; }
            get { return _categoryid; }
        }
        /// <summary>
        /// 用户主键（对应政务系统用户帐号）
        /// </summary>
        public string EmployeeId
        {
            set { _employeeid = value; }
            get { return _employeeid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string EmployeeName
        {
            set { _employeename = value; }
            get { return _employeename; }
        }
        /// <summary>
        /// 创建人职务
        /// </summary>
        public string EmployeeTitle
        {
            set { _employeetitle = value; }
            get { return _employeetitle; }
        }
        /// <summary>
        /// 用户角色Id
        /// </summary>
        public string RoleId
        {
            set { _roleid = value; }
            get { return _roleid; }
        }
        /// <summary>
        /// 创建日期
        /// </summary>
        public DateTime CreateDate
        {
            set { _createdate = value; }
            get { return _createdate; }
        }
        /// <summary>
        /// 备注
        /// </summary>
        public string Comment
        {
            set { _comment = value; }
            get { return _comment; }
        }
        /// <summary>
        /// 是否有效
        /// </summary>
        public bool IsActive
        {
            set { _isactive = value; }
            get { return _isactive; }
        }
        public Guid VideoRoomId
        {
            set { _videoroomid = value; }
            get { return _videoroomid; }
        }
        #endregion Model

        #region
        /// <summary>
        /// 会议参加人员
        /// </summary>
        public List<Model.Employee> Employees
        {
            get;
            set;
        }

        /// <summary>
        /// 会议相关议题列表
        /// </summary>
        public List<MeetingTopic> Topics
        {
            get;
            set;
        }

        /// <summary>
        /// 会议相关纪要列表
        /// </summary>
        public List<MeetingSummary> Summaries
        {
            get;
            set;
        }
        #endregion
    }
}

